package com.htzos.admin.ac.service;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.htzos.admin.ac.bean.AcFeedbackBase;
import com.htzos.admin.ac.dao.AcFeedbackBaseMapper;
import com.htzos.common.tool.ExtQueryBean;
@Service
@Transactional(rollbackFor = Exception.class)
public class AcFeedbackBaseService {
    @Autowired
    AcFeedbackBaseMapper acFeedbackBaseMapper;
    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public List<AcFeedbackBase> acFeedbackBaseList(AcFeedbackBase acFeedbackBase, ExtQueryBean extQuery){
       return acFeedbackBaseMapper.acFeedbackBaseList(acFeedbackBase, extQuery);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public Integer acFeedbackBaseTotal(AcFeedbackBase acFeedbackBase, ExtQueryBean extQuery){
       return acFeedbackBaseMapper.acFeedbackBaseTotal(acFeedbackBase, extQuery);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acFeedbackBaseUpdate(AcFeedbackBase acFeedbackBase){
       return acFeedbackBaseMapper.acFeedbackBaseUpdate(acFeedbackBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acFeedbackBaseInsert(AcFeedbackBase acFeedbackBase){
       return acFeedbackBaseMapper.acFeedbackBaseInsert(acFeedbackBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public int acFeedbackBaseDelete(AcFeedbackBase acFeedbackBase){
       return acFeedbackBaseMapper.acFeedbackBaseDelete(acFeedbackBase);
    }

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public AcFeedbackBase acFeedbackBaseGet(String id){
       return acFeedbackBaseMapper.acFeedbackBaseGet(id);
    }
}